CC	=	g++
NAME	=	parser
SRCS	=	main.cpp	\
		RequestParser.cpp \
		../datatree/DataTree.cpp
OBJS	=	$(SRCS:.cpp=.o)
CFLAGS	=	-W -Wall -Werror

all : NAME

NAME : $(OBJS)
	$(CC) -o $(NAME) $(SRCS) $(CFLAGS)

clean :
	rm -f $(NAME)
	rm -f *.o

fclean : clean
	rm -f *~
	rm -f *#

re : clean all

.PHONY: all NAME clean fclean re
